import { Module } from '@nestjs/common';
import { DesignService } from './design.service';
import { DesignController } from './design.controller';
import { ADesign } from './entities/design.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AScope } from './entities/scope.entity';
import { AView } from './entities/view.entity';
import { AViewScope } from './entities/viewscope.entity';
import { AProperty } from './entities/property.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([ADesign]),
    TypeOrmModule.forFeature([AScope]),
    TypeOrmModule.forFeature([AView]),
    TypeOrmModule.forFeature([AViewScope]),
    TypeOrmModule.forFeature([AProperty]),
  ],
  controllers: [DesignController],
  providers: [DesignService],
})
export class DesignModule {}
